package com.becca.cake.model.order;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class GoodOrderModel implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 8676734609035224620L;

    private Integer           id;

    private String            userName;

    private Integer           userId;
    /**商品ID*/
    private Integer           goodsId;
    /**商品编码*/
    private String            goodsCode;
    /**商品名称*/
    private String            goodsName;
    /**商品特殊属性ID*/
    private Integer           goodsPriceSizeId;
    /**商品尺寸*/
    private String            goodsSize;
    /**商品重量*/
    private String            goodsWeight;
    /**商品单价*/
    private Double            goodsPrice;
    /**商品单位*/
    private String            goodsUnits;
    /**购买数量*/
    private Integer           goodsNumber;
    /**商品属性(选择项以json格式保存)*/
    private String            goodsAttrs;
    /**状态(0:有效 1:无效)*/
    private Byte              carStatus;
    /**创建时间*/
    private Date              createdDate;
    /**创建人*/
    private String            createdName;
    /**修改时间*/
    private Date              updatedDate;
    /**修改人*/
    private String            updatedName;
    /**商品编码*/
    private String            goodsStandardCode;
    /**赠送配件数量*/
    private Integer           giveLaidNumber;
    /**商品展示图*/
    private String            goodsPic;
    /**商品副标题*/
    private String            goodsSubName;
    /**购物车ID*/
    private Integer           goodsCarId;

    /**订单总金额*/
    private Double            totalAmount;
    /**实际支付金额*/
    private Double            payAmount;
    /**优惠类型*/
    private Byte              couponType;
    /**优惠券(优惠码)ID*/
    private Integer           couponId;
    /**优惠码*/
    private String            couponCode;
    /**优惠券金额*/
    private Double            couponFee;
    /**收货人*/
    private String            consignee;
    /**收货人电话*/
    private String            consignPhone;
    /**收货人地址*/
    private String            consignAddress;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date              deliveryDate;
    /**配送开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date              deliveryDateStart;
    /**配送结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date              deliveryDateEnd;

    /**支付流水ID*/
    private Integer           userPaymentId;
    /**订单类型(0:普通订单 1:企业订单 2:试吃订单 3:免单订单)*/
    private Byte              orderType;
    /**订单状态(0:待付款 1:确认中 2:已确认 3:备货中 4:已发货 5:已完成 6:已取消)*/
    private Byte              orderStatus;
    /**订单状态多值*/
    private String            orderStatusIds;
    /**支付状态(0:待支付 1:已支付 2:用户取消支付  3:超时未支付)*/
    private Byte              payStatus;
    /**支付方式(0:微信 1：支付宝)*/
    private Byte              payType;
    /**配送时间段*/
    private String            deliveryTimes;
    /**餐具数量*/
    private Integer           laidNumber;
    /**蜡烛数量*/
    private Integer           candleNumber;
    /**支付时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date              payDate;
    private String            districtName;
    private String            address;
    private String            cityName;
    /**生日卡片*/
    private String            birthdayCard;
    /**备注*/
    private String            remark;
    /**配送费用*/
    private Double            deliveryFee;

    private String            longitude;

    private String            latitude;

    private Byte              orderFinish;
    
    //试吃公司名称
    private String 					companyName;
    
    //试吃申请人
    private String 					applyUserName;	
    
    //试吃申请人电话
    private String 					applyUserPhone;
    
    //公司规模
    private String  				companyScale;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsPriceSizeId() {
        return goodsPriceSizeId;
    }

    public void setGoodsPriceSizeId(Integer goodsPriceSizeId) {
        this.goodsPriceSizeId = goodsPriceSizeId;
    }

    public String getGoodsSize() {
        return goodsSize;
    }

    public void setGoodsSize(String goodsSize) {
        this.goodsSize = goodsSize;
    }

    public String getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsAttrs() {
        return goodsAttrs;
    }

    public void setGoodsAttrs(String goodsAttrs) {
        this.goodsAttrs = goodsAttrs;
    }

    public Byte getCarStatus() {
        return carStatus;
    }

    public void setCarStatus(Byte carStatus) {
        this.carStatus = carStatus;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getUpdatedName() {
        return updatedName;
    }

    public void setUpdatedName(String updatedName) {
        this.updatedName = updatedName;
    }

    public String getGoodsPic() {
        return goodsPic;
    }

    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic;
    }

    public String getGoodsSubName() {
        return goodsSubName;
    }

    public void setGoodsSubName(String goodsSubName) {
        this.goodsSubName = goodsSubName;
    }

    public Integer getGoodsCarId() {
        return goodsCarId;
    }

    public void setGoodsCarId(Integer goodsCarId) {
        this.goodsCarId = goodsCarId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsignPhone() {
        return consignPhone;
    }

    public void setConsignPhone(String consignPhone) {
        this.consignPhone = consignPhone;
    }

    public String getConsignAddress() {
        return consignAddress;
    }

    public void setConsignAddress(String consignAddress) {
        this.consignAddress = consignAddress;
    }

    public Date getDeliveryDateStart() {
        return deliveryDateStart;
    }

    public void setDeliveryDateStart(Date deliveryDateStart) {
        this.deliveryDateStart = deliveryDateStart;
    }

    public Date getDeliveryDateEnd() {
        return deliveryDateEnd;
    }

    public void setDeliveryDateEnd(Date deliveryDateEnd) {
        this.deliveryDateEnd = deliveryDateEnd;
    }

    public Integer getUserPaymentId() {
        return userPaymentId;
    }

    public void setUserPaymentId(Integer userPaymentId) {
        this.userPaymentId = userPaymentId;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatusIds() {
        return orderStatusIds;
    }

    public void setOrderStatusIds(String orderStatusIds) {
        this.orderStatusIds = orderStatusIds;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    public String getDeliveryTimes() {
        return deliveryTimes;
    }

    public void setDeliveryTimes(String deliveryTimes) {
        this.deliveryTimes = deliveryTimes;
    }

    public Integer getLaidNumber() {
        return laidNumber;
    }

    public void setLaidNumber(Integer laidNumber) {
        this.laidNumber = laidNumber;
    }

    public Integer getCandleNumber() {
        return candleNumber;
    }

    public void setCandleNumber(Integer candleNumber) {
        this.candleNumber = candleNumber;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public Byte getCouponType() {
        return couponType;
    }

    public void setCouponType(Byte couponType) {
        this.couponType = couponType;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Double getCouponFee() {
        return couponFee;
    }

    public void setCouponFee(Double couponFee) {
        this.couponFee = couponFee;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(Double deliveryFee) {
        this.deliveryFee = deliveryFee;
    }

    public Integer getGiveLaidNumber() {
        return giveLaidNumber;
    }

    public void setGiveLaidNumber(Integer giveLaidNumber) {
        this.giveLaidNumber = giveLaidNumber;
    }

    public String getBirthdayCard() {
        return birthdayCard;
    }

    public void setBirthdayCard(String birthdayCard) {
        this.birthdayCard = birthdayCard;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getGoodsStandardCode() {
        return goodsStandardCode;
    }

    public void setGoodsStandardCode(String goodsStandardCode) {
        this.goodsStandardCode = goodsStandardCode;
    }

    public String getGoodsUnits() {
        return goodsUnits;
    }

    public void setGoodsUnits(String goodsUnits) {
        this.goodsUnits = goodsUnits;
    }

    public Byte getOrderFinish() {
        return orderFinish;
    }

    public void setOrderFinish(Byte orderFinish) {
        this.orderFinish = orderFinish;
    }

    public String getCompanyName()
	{
		return companyName;
	}

	public void setCompanyName(String companyName)
	{
		this.companyName = companyName;
	}

	public String getApplyUserName()
	{
		return applyUserName;
	}

	public void setApplyUserName(String applyUserName)
	{
		this.applyUserName = applyUserName;
	}

	public String getApplyUserPhone()
	{
		return applyUserPhone;
	}

	public void setApplyUserPhone(String applyUserPhone)
	{
		this.applyUserPhone = applyUserPhone;
	}

	public String getCompanyScale()
	{
		return companyScale;
	}

	public void setCompanyScale(String companyScale)
	{
		this.companyScale = companyScale;
	}

	@Override
    public String toString() {
        return "GoodsPrice [goodsId=" + goodsId + ", goodsName=" + goodsName + ", goodsSize="
               + goodsSize + ", goodsWeight=" + goodsWeight + ", goodsPrice=" + goodsPrice + "]";
    }

}
